//
//  ZQQSegmentBarConfig.h
//  ZQQSegmentBar
//
//  Created by MoDao-iOS on 2017/7/14.
//  Copyright © 2017年 wushengdubai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface ZQQSegmentBarConfig : NSObject

+ (instancetype)defaultConfig;

/** 背景颜色*/
@property (nonatomic, strong) UIColor *segmentBarBackColor;

/** item未选中颜色*/
@property (nonatomic, strong) UIColor *itemNormalColor;

/** item选中颜色*/
@property (nonatomic, strong) UIColor *itemSelectColor;

/** item字体大小*/
@property (nonatomic, strong) UIFont *itemFont;

/** 选项指示线的颜色*/
@property (nonatomic, strong) UIColor *indicatorColor;

/** 选项指示线的高度 */
@property (nonatomic, assign) CGFloat indicatorHeight;
/** 选项指示线的扩展宽度 */
@property (nonatomic, assign) CGFloat indicatorExtraW;

/** tabBar的高度 */
@property (nonatomic, assign) CGFloat tabBarH;

// 内部实现, 在这个里面写, 外界, 只负责调用
// 功能, 改变 itemNormalColor 的值
//

@property (nonatomic, copy, readonly) ZQQSegmentBarConfig *(^itemNorColor)(UIColor *color);
@property (nonatomic, copy, readonly) ZQQSegmentBarConfig *(^itemSelColor)(UIColor *color);
@property (nonatomic, copy, readonly) ZQQSegmentBarConfig *(^indicatorEW)(CGFloat w);
@end
